﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="edcontest.ascx.cs" Inherits="admin_edcontest" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Label ID="lb" runat="server" Text=""></asp:Label>
<center>
<table width="100%">
    <tr>
        <td>Ngôn ngữ: </td>
        <td>
            <asp:DropDownList ID="lg" runat="server" DataSourceID="SqlDataSource2" 
                DataTextField="lang" DataValueField="id">
            </asp:DropDownList>
            <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                ConnectionString="<%$ ConnectionStrings:canhbuomxanhconnectionstring %>" 
                SelectCommand="SELECT * FROM [Languages]"></asp:SqlDataSource>
        </td>
    </tr>
    <tr>
        <td>Menu: </td>
        <td>
            <asp:TextBox ID="me" runat="server" Width="278px"></asp:TextBox></td>
    </tr>
    <tr>
        <td>Tiêu đề: </td>
        <td>
            <asp:TextBox ID="title" runat="server" Width="276px"></asp:TextBox></td>
    </tr>
    <tr>
        <td>Miêu tả: </td>
        <td>
            <fckeditorv2:fckeditor ID="des" runat="server" BasePath="~/fckeditor/">
            </fckeditorv2:fckeditor>
        </td>
    </tr>
    <tr>
        <td>Nội dung: </td>
        <td>
            <fckeditorv2:fckeditor ID="nd" runat="server" BasePath="~/fckeditor/">
            </fckeditorv2:fckeditor>
        </td>
    </tr>
    <tr>
        <td colspan="2"><center>
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Trở về" />
&nbsp;<asp:Button runat="server" ID="addbt" Text="Cập nhật" 
                onclick="addbt_Click"/></center></td>
    </tr>
</table>